package com.vhuomai.wechat.handler;

import com.vhuomai.weixin.common.exception.WxErrorException;
import com.vhuomai.weixin.common.session.WxSessionManager;
import com.vhuomai.weixin.mp.api.WxMpMessageHandler;
import com.vhuomai.weixin.mp.api.WxMpService;
import com.vhuomai.weixin.mp.bean.message.WxMpXmlMessage;
import com.vhuomai.weixin.mp.bean.message.WxMpXmlOutMessage;

import java.util.Map;

public class MessageHandler implements WxMpMessageHandler {

    @Override
    public WxMpXmlOutMessage handle(WxMpXmlMessage wxMessage, Map<String, Object> context, WxMpService wxMpService, WxSessionManager sessionManager) throws WxErrorException {
        return WxMpXmlOutMessage.TRANSFER_CUSTOMER_SERVICE().build();
    }
}
